package com.geekaca.d07.unchangable;

import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Set;

public class TestUnchange {
    public static void main(String[] args) {
        List<Double> scores = List.of(45.6, 78.2, 99.9);
        scores.add(100.2);

        Set<String> nameSet = Set.of("Tom","Jack");
//        nameSet.clear();

        Map<String,Integer> map = Map.of("Iphone",12, "比亚迪 ",29 );
        map.put("test",11);
    }
}
